<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org/">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<title>充电桩详情</title>
		<link rel="stylesheet" href="/admin/src/css/layui.css">

	</head>
	<body>
		<div class="layui-form">
			<table class="layui-table" lay-even="" lay-skin="nob">
				<colgroup>
					<col width="180">
					<col width="320">
					<col width="180">
					<col>
				</colgroup>
				<tbody>
				<tr>
					<td style="background-color: #eee">基本信息：</td>
					<td style="background-color: #eee"></td>
					<th></th>
					<th></th>
				</tr>
				<tr>
					<th>设备名称：</th>
					<th>{$info['title'] ? $info['title'] : ''}</th>
					<th>所属站点：</th>
					<th>{$info['station_name'] ? $info['station_name'] : ''}</th>
				</tr>
				<tr>
					<th>设备编号：</th>
					<th>{$info['device_sn'] ? $info['device_sn'] : ''}</th>
					<th>是否启用：</th>
					<th>{$info['status_name'] ? $info['status_name'] : ''}</th>
				</tr>
				<tr>
					<td>充电桩类型：</td>
					<td>{$info['device_type_name'] ? $info['device_type_name'] : ''}</td>
					<th>充电方式：</th>
					<th>{$info['charge_type_name'] ? $info['charge_type_name'] : ''}</th>
				</tr>
				<tr>
					<td>充电桩功率：</td>
					<td>{$info['power_number'] ? $info['power_number'] : ''}</td>
					<th>充电桩备注：</th>
					<th>{$info['remark'] ? $info['remark'] : ''}</th>
				</tr>
				<tr>
					<td>充电桩电压：</td>
					<td>{$info['voltage'] ? $info['voltage'] : ''}</td>
					<th>充电桩电流：</th>
					<th>{$info['electric_current'] ? $info['electric_current'] : ''}</th>
				</tr>
				<tr>
					<td style="background-color: #eee">充电桩充电枪详情：</td>
					<td style="background-color: #eee"></td>
					<th></th>
					<th></th>
				</tr>
				{foreach name="$info['gun_list']" item="gunInfo"}
					<tr>
						<td>充电枪编号：</td>
						<td>{$gunInfo['num'] ? $gunInfo['num'] : ''}</td>
						<th>充电枪状态：</th>
						<th>{$gunInfo['status_name'] ? $gunInfo['status_name'] : ''}</th>
					</tr>
				{/foreach}
				<tr>
					<td style="background-color: #eee">收费费率设置：</td>
					<td style="background-color: #eee"></td>
					<th></th>
					<th></th>
				</tr>
				<tr>
					<td>充电桩是否设置收费模型：</td>
					<td>{$info['cost_status'] ? '是' : '否'}</td>
					<th></th>
					<th></th>
				</tr>
				<tr>
					<td>尖费电费率（/度）：</td>
					<td>{$info['charge_cost'] ? $info['charge_cost'] : ''}</td>
					<th>尖费服务费率（/度）：</th>
					<th>{$info['service_cost'] ? $info['service_cost'] : ''}</th>
				</tr>
				<tr>
					<td>峰费电费率（/度）：</td>
					<td>{$info['peak_electric_cost'] ? $info['peak_electric_cost'] : ''}</td>
					<th>峰费服务费率（/度）：</th>
					<th>{$info['peak_service_cost'] ? $info['peak_service_cost'] : ''}</th>
				</tr>
				<tr>
					<td>平费电费率（/度）：</td>
					<td>{$info['flat_electric_cost'] ? $info['flat_electric_cost'] : ''}</td>
					<th>>平费服务费率（/度）：</th>
					<th>{$info['flat_service_cost'] ? $info['flat_service_cost'] : ''}</th>
				</tr>
				<tr>
					<td>谷费电费率（/度）：</td>
					<td>{$info['valley_electric_cost'] ? $info['valley_electric_cost'] : ''}</td>
					<th>谷费服务费率（/度）：</th>
					<th>{$info['valley_service_cost'] ? $info['valley_service_cost'] : ''}</th>
				</tr>
				<tr>
					<td style="background-color: #eee">充电桩收费模型详情：</td>
					<td style="background-color: #eee"></td>
					<th></th>
					<th></th>
				</tr>
				{foreach name="$info['cost_list']" item="costInfo"}
				<tr>
					<td>时间段：</td>
					<td>{$costInfo['title'] ? $costInfo['title'] : ''}</td>
					<th>收费类型：</th>
					<th>{$costInfo['value_name'] ? $costInfo['value_name'] : ''}</th>
				</tr>
				{/foreach}
				</tbody>
			</table>
		</div>
	<script src="/admin/src/layui.js" ></script>
	</body>
</html>
